package logic

import (
	"bluebell6/dao/mysql"
	"bluebell6/models"
)

func GetCommunityList() ([]*models.Community, error) {
	//查数据库,查找到所有的community 并返回
	return mysql.GetCommunityList()
}
func CommunityDetailHandler(id int64) (*models.CommunityDetail, error) {
	return mysql.GetCommunityDetailByID(id)

}
